package com.as.server.mapper;

import com.as.server.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author wuying
* @description 针对表【user】的数据库操作Mapper
* @createDate 2022-12-04 16:46:30
* @Entity com.as.server.entity.User
*/
@Mapper
public interface UserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<User> likeArticleAll();

}
